import React, { Fragment } from 'react';
import { BrowserRouter as Router, Route, Link, Switch } from 'react-router-dom';
import { Home, Redirect, Register } from 'pages';
import CoresContainer from 'containers/base/Cores';

export default () => {
    return (
        <Router>
            <Fragment>
                <Switch>
                    <Route exact path="/" component={Home} />
                    <Route path="/register" component={Register} />
                    <Route path="/response" component={Redirect} />
                </Switch>
                <CoresContainer landing={true} landingType={'bar'} />
            </Fragment>
        </Router>
    );
};
